package com.ftg.learn.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 用来做模糊查询时的参数封装
 *
 * @author kangjx
 * @date 2022/10/27
 */
@Data
@ApiModel("模糊查询对象封装")
public class DimDto implements Serializable {

    private static final long serialVersionUID = -1242493306307174690L;

    /**
     * 列名
     */
    @ApiModelProperty(value = "参数对应的数据库列名")
    List<String> cols;

    /**
     * 列对的参数
     */
    @ApiModelProperty(value = "列名对应的值")
    List<String> para;
}
